function canMakeHTTPRequest () : boolean {
    return typeof globalThis.XMLHttpRequest === 'function';
}
console.log (canMakeHTTPRequest ());
